package com.lap.auth.adapter.driving.query.user.mapper;

import com.lap.auth.adapter.driving.query.user.po.UserSimplePo;
import com.lap.auth.adapter.driving.query.user.po.UserWithOrgPo;
import com.lap.auth.application.user.dto.QueryUserPageQuery;
import com.lap.auth.application.user.dto.QueryUserSimplePageQuery;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserQueryMapper {

  List<UserWithOrgPo> selectWithOrgPage(QueryUserPageQuery query);

  long countWithOrgPage(QueryUserPageQuery query);

  List<UserSimplePo> selectSimplePage(QueryUserSimplePageQuery query);

  long countSimplePage(QueryUserSimplePageQuery query);

  List<UserSimplePo> selectSimpleListByIds(List<Integer> ids);
}
